package com.atguigu.mybatisplus_01.pojo;

import com.atguigu.mybatisplus_01.enums.SexEnum;
import com.baomidou.mybatisplus.annotation.*;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@TableName("t_user")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class User {
    @TableId(value = "id",type = IdType.AUTO)
    private Long uid;
    @TableField(value = "user_name")
    private String PeopleName;
    private Integer age;
    private String email;
    private SexEnum sex;
    @TableLogic
    private int isDelete;
}
